package xxl.signals.impl 
{
	import xxl.signals.api.ISignal;
	import xxl.signals.api.ISlot;
	
	/**
	 * ...
	 * @author XXL
	 */
	public class Signal extends OnceSignal implements ISignal 
	{
		
		public function Signal(...valueClasses) 
		{
			valueClasses = (valueClasses.length == 1 && valueClasses[0] is Array) ? valueClasses[0]:valueClasses;
			super(valueClasses);
		}
		
		/* INTERFACE xxl.signals.core.ISignal */
		
		public function add(listener:Function):ISlot 
		{
			return registerListener(listener);
		}
		
	}

}